Skip to content

Conversation

@Barthelemy
Copy link
Collaborator

No description provided.

@Barthelemy Barthelemy changed the title [WIP ] Naming conventions and warnings RepoCleaner : Naming conventions and warnings Jan 7, 2025
@Barthelemy Barthelemy force-pushed the naming-conventions-and-warnings2 branch from 526a990 to 4a13d48 Compare January 7, 2025 12:59
self.assertEqual(stats["deleted"], 0)
self.assertEqual(stats["preserved"], 18)
self.assertEqual(stats["updated"], 0)
# def test_5_runs(self):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it intentionally commented out?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes it is, and yes a comment should explain why. I will add it.

The reason is that running test_5_runs makes a lot of requests to the ccdb-test. If you run it along the rest, you will reach a limit and get requests denied by the server (rate limiting I guess). If you run it by itself it is fine. If you run the others without it, it is fine.

Not nice, I know. Possible solutions : sleep, use a mock (already ruled out), spawn a local database.

@Barthelemy
Copy link
Collaborator Author

@knopers8 @justonedev1 could one of you review and approve please ?
Thank you

@Barthelemy Barthelemy enabled auto-merge (squash) February 6, 2025 07:42
@Barthelemy Barthelemy merged commit 491ff66 into AliceO2Group:master Feb 10, 2025
6 checks passed
@Barthelemy Barthelemy deleted the naming-conventions-and-warnings2 branch February 10, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants